const log4js = require('log4js');
// log4js.configure({
//     appenders: { log: { type: 'file', filename: 'log.log' } },
//     categories: { default: { appenders: ['log'], level: 'debug' } }
// });

// const logger = log4js.getLogger('cheese');
// logger.trace('Entering cheese testing');
// logger.debug('Got cheese.');
// logger.info('Cheese is Gouda.');
// logger.warn('Cheese is quite smelly.');
// logger.error('Cheese is too ripe!');
// logger.fatal('Cheese was breeding ground for listeria.');

var logger = log4js.getLogger();
logger.level = 'debug';
// logger.debug("Some debug messages");

module.exports = logger;
